package com.ruoyi.project.jiaqin.followmember.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.system.member.domain.MemberFollow;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户关注对象 jiaqin_follow_member
 *
 * @author admin
 * @date 2021-01-04
 */
public class JiaqinFollowMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Integer total;// 数量

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    /** ID */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String memberId;

    /** 被关注用户ID */
    @Excel(name = "被关注用户ID")
    private String followMemberId;

    private MemberFollow memberFollow;

    public MemberFollow getMemberFollow() {
        return memberFollow;
    }

    public void setMemberFollow(MemberFollow memberFollow) {
        this.memberFollow = memberFollow;
    }

    /** 关注时间 */
    @Excel(name = "关注时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date followAt;

    /** 被关注用户身份：0-个人 1-企业 */
    private Integer type;

    /** 距离 */
    private String distance;

    /** 备注 */
    private String remarks;

    /** 行情数 */
    @Excel(name = "行情数")
    private Integer quotationNum;

    /** 供应数 */
    @Excel(name = "供应数")
    private Integer supplyNum;

    /** 求购数 */
    @Excel(name = "求购数")
    private Integer wantToBuyNum;

    public Integer getQuotationNum() {
        return quotationNum;
    }

    public void setQuotationNum(Integer quotationNum) {
        this.quotationNum = quotationNum;
    }

    public Integer getSupplyNum() {
        return supplyNum;
    }

    public void setSupplyNum(Integer supplyNum) {
        this.supplyNum = supplyNum;
    }

    public Integer getWantToBuyNum() {
        return wantToBuyNum;
    }

    public void setWantToBuyNum(Integer wantToBuyNum) {
        this.wantToBuyNum = wantToBuyNum;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMemberId(String memberId)
    {
        this.memberId = memberId;
    }

    public String getMemberId()
    {
        return memberId;
    }
    public void setFollowMemberId(String followMemberId)
    {
        this.followMemberId = followMemberId;
    }

    public String getFollowMemberId()
    {
        return followMemberId;
    }
    public void setFollowAt(Date followAt)
    {
        this.followAt = followAt;
    }

    public Date getFollowAt()
    {
        return followAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("followMemberId", getFollowMemberId())
            .append("followAt", getFollowAt())
            .toString();
    }
}
